WooCommerce\Square\Framework\PaymentGateway\Admin\Payment_Gateway_Admin_Payment_Token_Editor A

Total Complexity 53
Dependencies 6
Dependents 1
Total lines 652
Lines of code 274
Logical lines of code 143
Comment lines 219
Methods 23
Properties 1

Methods 23

Method Rating Maintainability Complexity Lines of code
ajax_remove_token()
S
54 6 22
get_fields()
S
44 4 49
save()
S
55 6 19
get_tokens()
S
53 5 21
ajax_refresh_tokens()
S
57 4 17
prepare_expiry_date()
S
64 4 9
get_columns()
S
61 3 11
ajax_get_blank_token()
S
54 2 21
display_tokens()
S
61 2 12
enqueue_scripts_styles()
S
52 1 25
get_actions()
S
63 2 10
get_card_type_options()
S
66 2 9
get_title()
S
66 2 7
__construct()
S
65 1 8
get_token_actions()
S
69 1 6
get_input_name()
S
79 1 3
validate_token_data()
S
77 1 3
get_payment_type()
S
78 1 3
remove_token()
S
78 1 3
update_tokens()
S
79 1 3
build_token()
S
79 1 3
display()
S
68 1 7
get_gateway()
S
82 1 3